package work.linruchang.util.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author LinRuChang
 * @version 1.0
 * @date 2022/11/21
 * @since 1.8
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Column implements Serializable {
    private static final long serialVersionUID = 6543039807904327434L;
    /**
     * 表名
     */
    String tableName;

    /**
     * 表名注释
     */
    String tableNameComment;

    /**
     * 列名
     */
    String columnName;

    /**
     * 列的数据类型
     */
    Class javaType;

    /**
     * 列注释
     */
    String comment;

}

